package com.dyw.springbootpersonal.mapper;

import com.dyw.springbootpersonal.entity.Rating;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Devil
 * @create 2022-01-29-19:41
 */
@SuppressWarnings("all")
@Mapper
public interface RatingMapper {

    @Select("select * from rating order by anime_id,user_id")
    List<Rating> getAll();
}
